projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3e18eec
)
(mail-strip-quoted-names): Don't delete angle brackets
author
Richard M. Stallman
<rms@gnu.org>
Sat, 31 May 1997 21:14:57 +0000
(21:14 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Sat, 31 May 1997 21:14:57 +0000
(21:14 +0000)
when there's a colon inside them.
lisp/mail/mail-utils.el
patch
|
blob
|
history
diff --git
a/lisp/mail/mail-utils.el
b/lisp/mail/mail-utils.el
index 286c86ea4ddc1136e9748320f430021168c27e43..c234411ac8708342d82fdc81df1a03d345090193 100644
(file)
--- a/
lisp/mail/mail-utils.el
+++ b/
lisp/mail/mail-utils.el
@@
-160,7
+160,7
@@
Return a modified address list."
(mail-string-delete address
pos (match-end 0)))))
;; Retain only part of address in <> delims, if there is such a thing.
- (while (setq pos (string-match "\\(,\\s-*\\|\\`\\)[^,]*<\\([^>,]*>\\)"
+ (while (setq pos (string-match "\\(,\\s-*\\|\\`\\)[^,]*<\\([^>,
:
]*>\\)"
address))
(let ((junk-beg (match-end 1))
(junk-end (match-beginning 2))